package com.hgts.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hgts.common.R;
import com.hgts.pojo.Employee;
import com.hgts.pojo.Role;
import com.hgts.pojo.dto.EmployeeDto;


public interface EmployeeService extends IService<Employee> {
    R<EmployeeDto> getEmployee(Employee employee);

    R<Page> pageInfo(int page, int pageSize, String username);


    R<String> addEmployee(Employee employee);

    R<Employee> getEmployeeRole(int id);

}
